package com.cmnit.analysis.common

import com.cmnit.analysis.util.EnvUtil
import org.apache.log4j.Logger
import org.apache.spark.sql.DataFrame

trait TDao {
  private val logger: Logger = Logger.getLogger(this.getClass)

  def sparkSQL(sql: String): DataFrame = {
    EnvUtil.take().sql(sql)
  }

}
